@box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px,
  rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;

.wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  padding-bottom: 0 !important;
  .top_wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
  }

  .box_shadow {
    box-shadow: @box-shadow;
  }

  .interval_card {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 222;
    padding: 8px 12px;
    font-size: 12px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  }

  .lattice_card {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 222;
    width: 210px;
    padding: 8px 12px;
    font-size: 12px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: @box-shadow;
  }

  :global {
    .amap-info {
      white-space: nowrap;
      width: auto;
      .amap-info-content {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 16px;
        padding-right: 40px;
        border-radius: 8px;
        // height: 132px;
      }
      .amap-info-close {
        top: 20px;
        right: 16px;
        color: #666;
        font-size: 20px;
      }
      .amap-info-sharp {
        bottom: 1px;
      }
      .title {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 1px;
      }
      .item {
        display: flex;
        align-items: center;
        color: #6f6f6f;
      }
      .text {
        margin-left: 16px;
        color: #000;
        font-weight: 500;
      }
    }
    .infoWindow {
      width: 200px;
      padding: 6px 10px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: @box-shadow;

      .infoWindow_flex {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        &:hover .tooltiptext {
          visibility: visible;
          opacity: 1;
        }
        .tooltiptext {
          position: absolute;
          top: -28px;
          left: 4px;
          z-index: 999999;
          padding: 6px 12px;
          color: #fff;
          white-space: nowrap;
          background-color: rgba(0, 0, 0, 0.8);
          border-radius: 6px;
          visibility: visible;
          opacity: 0;
          transition: opacity 0.3s;
        }

        .infoWindow_title {
          position: relative;
          overflow: hidden;
          color: #000;
          font-weight: 600;
          font-size: 14px;
          white-space: nowrap;
          text-overflow: ellipsis;
        }

        &:first-child {
          color: #000;
          font-size: 14px;
        }
      }
    }
  }
}
